package com.shyroke.service.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shyroke.entity.ArticlePingLun;
import com.shyroke.mapper.ArticlePingLunMapper;
import com.shyroke.service.ArticlePingLunServiceI;

@Service
public class ArticlePingLunServiceImpl implements ArticlePingLunServiceI {

	@Autowired
	private ArticlePingLunMapper articlePingLunMapper;
	
	@Override
	public void insert(ArticlePingLun articlepinglun) {
		articlePingLunMapper.insert(articlepinglun);
	}

	@Override
	public List<ArticlePingLun> selectByArticleId(Integer articleId) {
		return articlePingLunMapper.selectByArticleId(articleId);
	}

}
